# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models

# Create your models here.

class Poem(models.Model):
	title = models.CharField('诗题',max_length=22)
	author = models.CharField('作者',max_length=22)
	content = models.TextField('内容',max_length=666)

	class Meta:
		verbose_name = '诗'
		verbose_name_plural = verbose_name

class ToDo(models.Model):
	content = models.CharField(max_length=222)
	is_done = models.BooleanField(default=False)
	priority = models.IntegerField(default=1)
